package src;

public class PredicateEndsWith implements Predicate {

	@Override
	public boolean predicate(Object element, Object string) {
		if (element == null || string == null)
			return false;
		return (element.toString().endsWith(string.toString()));
	}

}
